using MESBaseis.Domain.BaseEntities;

namespace MESBaseis.Domain.ZSHH
{
    /// <summary>
    /// 生产计划操作记录表
    /// </summary>
    public class ProductionPlanOperationLog : BaseModel
    {
        /// <summary>
        /// 生产计划ID
        /// </summary>
        public int ProductionPlanId { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string Operator { get; set; } = string.Empty;

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime OperationTime { get; set; }

        /// <summary>
        /// 操作内容 (新增产品、上传文件、修改、删除等)
        /// </summary>
        public string OperationContent { get; set; } = string.Empty;

        // 导航属性
        public virtual ProductionPlan ProductionPlan { get; set; } = null!;
    }
}